package org.example.demo1.service;

import org.example.demo1.common.PageData;
import org.example.demo1.common.ResponseData;
import org.example.demo1.domain.GoodsClassify;

public interface IGoodsClassifyService {
    ResponseData<GoodsClassify> addClassify(GoodsClassify classify);

    ResponseData<GoodsClassify> getClassifyById(Integer classifyId);

    ResponseData<GoodsClassify> getClassifyByClassNameLike(String classifyName);

    ResponseData<GoodsClassify> updateClassify(GoodsClassify classify);

    ResponseData<GoodsClassify> deleteClassifyById(Integer classifyId);

    ResponseData<PageData<GoodsClassify>> getClassifiesPage(int pageNum, int pageSize, Integer classifyId);
}
